<template>
  <div>
    <el-container>
        <el-aside width="auto">
            <commonAside />
        </el-aside>
        <el-container>
            <el-header>
                <commonHeader />
            </el-header>
            <el-main>
                <router-view></router-view>
            </el-main>
        </el-container>
    </el-container>
  </div>
</template>

<script>
import commonAside from '../components/commonAside'
import commonHeader from '../components/commonHeader.vue'
export default {
    components:{
        commonAside,
        commonHeader
    }
}
</script>

<style scoped>
.el-header{
    padding: 0;
}
</style>